package hospital.orderClient;

import hospital.vo.hosp.ScheduleOrderVo;
import hospital.vo.order.OrderCountQueryVo;
import hospital.vo.order.SignInfoVo;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.Map;

/**
 * @author
 * @description:
 */
@FeignClient(value = "service-order")
@Repository
public interface OrderFeignClient {
    @ApiOperation("获取订单数据，用户后台的数据分析")
    @PostMapping("/api/order/orderInfo/inner/getCountMap")
    public Map<String, Object> getCountMap(OrderCountQueryVo orderCountQueryVo);
}
